package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcRfidLabelRole;
import com.csun.cmny.provider.model.dto.rfid.RfidLabelRolePageQuery;
import com.csun.cmny.provider.model.vo.rfid.RfidLabelRoleVo;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-12-07 09:17
 * @Description:
 */
public interface DmcRfidLabelRoleService extends IService<DmcRfidLabelRole> {

    /**
     * query all dmc rfid label role
     *
     * @return  the list
     */
    List<RfidLabelRoleVo> queryAll(Long groupId);

    /**
     * add dmc rfid label role
     *
     * @param dmcRfidLabelRole
     * @return
     */
    Integer add(DmcRfidLabelRole dmcRfidLabelRole, LoginAuthDto loginAuthDto);

    /**
     * edit dmc rfid label role
     *
     * @param dmcRfidLabelRole
     * @return
     */
    Integer edit(DmcRfidLabelRole dmcRfidLabelRole, LoginAuthDto loginAuthDto);

    /**
     * delete dmc rfid label role by id
     *
     * @param id
     * @return
     */
    Integer deleteById(Long id);

    /**
     * query dmc rfid label role list wiht page
     *
     * @param rfidLabelRolePageQuery    the rfid label role page query
     *
     * @return  the list
     */
    List<RfidLabelRoleVo> queryListWithPage(RfidLabelRolePageQuery rfidLabelRolePageQuery);
}
